<?php 
session_start();
require_once('Connections/tecno.php'); 

mysql_select_db($database_tecno, $tecno);
$query_sqlaudi = "SELECT * FROM bitacora ORDER BY id DESC";
$sqlaudi = mysql_query($query_sqlaudi, $tecno) or die(mysql_error());
$row_sqlaudi = mysql_fetch_assoc($sqlaudi);
$totalRows_sqlaudi = mysql_num_rows($sqlaudi);

?>
<link type="text/css" href="js/themes/base/ui.all.css" rel="stylesheet" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/ui/ui.core.js"></script>
<script src="js/jquery-validate/jquery.validate.js" type="text/javascript"></script>
<script src="js/jquery-validate/additional-methods.js" type="text/javascript"></script>
<SCRIPT type="text/javascript" src="js/jquery.easing.1.3.js"></SCRIPT>
<SCRIPT type="text/javascript" src="js/alertbox.js"></SCRIPT>
<LINK rel="stylesheet" type="text/css" media="all" href="css/style.css"><!--estilo de ventana alerta -->
<script type="text/javascript" src="js/ui/ui.tabs.js"></script>

<style type="text/css">
	a{text-decoration: none;}
	form {margin-top:50px;}
	.label {float:; width:; margin:; font-weight:bold; font-family: Arial; font-size:12px;}
	.input {width:150px;height:21px; border:2px solid #c4c4c4; margin: 0 0 4px 10px;font-family: Arial; font-size:12px;}
	.input-select{ width:150px;height:21px; border:2px solid #c4c4c4; margin: 0 0 4px 10px;font-size:12px;}
	.error-input{background-color:#FFEFEF;border-color:#BB6666;color:#660000;}
	form label.error{ font-size:12px; color:#F00;}		
	.buscar1{
	width:800px;
	margin-left:77px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	text-align:center;
	font-size:15px;
	color:#333;
	padding:8px 0 8px 0;
	background-color:#CCC;
	border:solid 2px #333;
	position:absolute;
	clear:both;
	left: 69px;
	top: 60px;
}
</style>
<div id="tabs">
	<ul>
	
    <li><a href="#tabs-1">Auditoria</a></li>
        
		<li><a href="#tabs-2">Ver Usuarios</a></li>		
	</ul>
       
    
    
<div id="tabs-1" style="height:auto; min-height:240px; text-align:center;">
  <table width="579" height="78"  border="0" class="ui-widget" id="tabla">
    <thead class="ui-widget-header">
      <tr  align="center" >
        <td width="61" height="20" valign="middle" >ID</td>
        <td width="92" valign="middle" >Operaci&oacute;n</td>
        <td width="107" valign="middle" >Usuario</td>
        <td width="92" valign="middle" > Host</td>
        <td valign="middle" >Modificado</td>
        <td valign="middle" >Tabla</td>
        <td valign="middle" >Detalles</td>
      </tr>
    </thead>
    <tbody>
      <?php do { ?>
      <tr class="ui-widget-content">
        <td height="28" align="center" valign="middle" >&nbsp;<?php echo $row_sqlaudi['id'];  ?></td>
        <td  align="center" valign="middle">&nbsp;<?php echo $row_sqlaudi['operacion']; ?></td>
        <td align="center" valign="middle" >&nbsp;<?php echo $row_sqlaudi['usuario']; ?></td>
        <td align="center" valign="middle" >&nbsp;<?php echo $row_sqlaudi['host']; ?></td>
        <td width="150" align="center" valign="middle" >&nbsp;<?php echo  $row_sqlaudi['modificado']; ?></td>
        <td width="25" align="center" valign="middle" >&nbsp;<?php echo  $row_sqlaudi['tabla'];  ?></td>
        <td width="25" align="left" valign="middle">&nbsp;<?php echo  $row_sqlaudi['detalle'];  ?></td>
      </tr>
      <?php } while ($row_sqlaudi = mysql_fetch_assoc($sqlaudi));?>
    </tbody>
    <tbody>
    </tbody>
  </table>
</div>		
</div>   